package com.itheima.utnil;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@Slf4j
@RestControllerAdvice
public class GlbalExceptionHandler {


//     数据不允许为空异常

    public  class NotNullException extends RuntimeException{

        public NotNullException(String message) {
            super(message);
        }
    }






}
